.class Lcom/example/m6wmr/CartlistActivity$1;
.super Landroid/os/Handler;
.source "CartlistActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/CartlistActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/CartlistActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/CartlistActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    .line 77
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 79
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 80
    iget v0, p1, Landroid/os/Message;->arg1:I

    sparse-switch v0, :sswitch_data_0

    .line 105
    :goto_0
    :sswitch_0
    return-void

    .line 82
    :sswitch_1
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    # getter for: Lcom/example/m6wmr/CartlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/CartlistActivity;->access$0(Lcom/example/m6wmr/CartlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u63d0\u793a\u4fe1\u606f"

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 85
    :sswitch_2
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    # getter for: Lcom/example/m6wmr/CartlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/CartlistActivity;->access$0(Lcom/example/m6wmr/CartlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u4fe1\u606f\u83b7\u53d6\u7ed3\u679c"

    const-string v2, "\u8fd4\u56de\u7ed3\u679c\u4e3a\u7a7a"

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 88
    :sswitch_3
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    invoke-virtual {v0}, Lcom/example/m6wmr/CartlistActivity;->loadcartdata()V

    goto :goto_0

    .line 94
    :sswitch_4
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    # getter for: Lcom/example/m6wmr/CartlistActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static {v0}, Lcom/example/m6wmr/CartlistActivity;->access$1(Lcom/example/m6wmr/CartlistActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    const-string v1, "cart"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "shopid = \'"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\'"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 95
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    # getter for: Lcom/example/m6wmr/CartlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/CartlistActivity;->access$0(Lcom/example/m6wmr/CartlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5220\u9664\u8d2d\u7269\u8f66"

    const-string v2, "\u6570\u636e\u63d0\u4ea4\u4e2d.."

    invoke-static {v0, v1, v2}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 96
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    invoke-virtual {v0}, Lcom/example/m6wmr/CartlistActivity;->getShopSource()Z

    goto :goto_0

    .line 99
    :sswitch_5
    iget-object v0, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    # getter for: Lcom/example/m6wmr/CartlistActivity;->mcontext:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/CartlistActivity;->access$0(Lcom/example/m6wmr/CartlistActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v2, p0, Lcom/example/m6wmr/CartlistActivity$1;->this$0:Lcom/example/m6wmr/CartlistActivity;

    iget-object v2, v2, Lcom/example/m6wmr/CartlistActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 80
    nop

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0x3 -> :sswitch_3
        0x4 -> :sswitch_0
        0x7 -> :sswitch_4
        0x6f -> :sswitch_5
    .end sparse-switch
.end method
